//
//  MainHeaderview.h
//  Bettle
//
//  Created by panhongliu on 2017/1/5.
//  Copyright © 2017年 panhongliu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface MainHeaderview : UIView<UICollectionViewDelegateFlowLayout,UICollectionViewDataSource,UICollectionViewDelegate>

{
    
    UICollectionViewFlowLayout *flowLayout;

}

- (instancetype)initWithFrame:(CGRect)frame ;

@property(nonatomic,strong)UICollectionView * collectionView;

@property(nonatomic,assign)int type;

@property(nonatomic,strong)NSArray * dataArray;


-(void)cellDataArray:(NSArray *)array;


@end
